package org.example;



public class ServerMain {
    public static void main(String[] args) throws InterruptedException {

        UdpServer udpServer = new UdpServer();
        Thread thread = new Thread(udpServer);
        thread.start();

        TcpServer tcpServer = new TcpServer();
        Thread tcpThread = new Thread(tcpServer);
        tcpThread.start();
        tcpThread.join();
        thread.join();
    }
}